package com.caigou.exception;

import com.caigou.enums.ResponseEnum;

public class TokenVerificationFailedException extends RuntimeException {

    private  Integer code;
    public TokenVerificationFailedException(ResponseEnum responseEnum) {
        super(responseEnum.getMessage());
        this.code = responseEnum.getCode();
    }

}
